﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
html
{
    height: 100%;
}

body
{
    background-color: white;
    font-size: .85em;
    font-family: "Trebuchet MS" , Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #000;
    height: 99.5%;
    min-height:99.5%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}

a:visited
{
    color: #505abc;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #12eb87;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

header, footer, nav, section
{
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2
{
    padding: 0 0 10px 0;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header, #header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #000;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
}

#main
{
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
    height: 90%;
    overflow: visible;

    
}

footer, #footer
{
    /*height: 2.5em;*/
    width: 90%;
    color: #000;
    position: static;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

#leftFooter
{
    margin-left: 2em;
    float: left;
}
#rightFooter
{
    margin-right: 2em;
    float: right;
}

#separator
{
    height: 1px;
    background-color: #47155C;
    width: 90%;
    position: static;
    bottom: 5em;
    margin-left: auto;
    margin-right: auto;
}

#separator_upper
{
    height: 1px;
    background-color: #47155C;
    width: 100%;
    position: static;
    bottom: 5em;
    margin-left: auto;
    margin-right: auto;
}

/* TAB MENU   
----------------------------------------------------------*/
ul.menu
{
    border-bottom: 1px #47155C solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
    overflow: visible;
}



ul.menu li
{
    display: inline;
    list-style: none;
}


ul.menu li a
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: white;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    background-color: #47155C;
}

ul.menu li a:hover
{
    background-color: #47000C;
    text-decoration: none;
}


ul.menu li.selected a
{
    background-color: #fff;
    color: #000;
}

.submenu1
{
    display: none;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: white;
}
.submenu2
{
    display: none;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: white;
}
.submenu3
{
    display: none;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: white;
}

div.menu
{
    border-bottom: 1px #47155C solid;
}

.dxm-content
{
    background-color: #47155C;
    color: white;
    font-weight: bold;
    font-size: inherit;
    text-decoration: none;
}

.dxm-content a
{
    color: white;
    font-weight: bold;
    font-size: inherit;
    text-decoration: none;
}


.dxmLite, .dxmLite .dxm-content a.dx
{
    color: white;
    font-weight: bold;
    font-size: inherit;
}

.dxm-ltr .dxm-main, .dxm-ltr .dxm-horizontal ul.dx
{
    float: right;
}

.dxmLite .dxm-item, .dxmLite .dxm-popOut
{
    background-color: #47155C;
    border-color: #47155C;
}

.dx-item
{
    background-color: #47155C;
    color: white;
    font-weight: bold;
}

.dxmLite .dxm-main
{
    border: 0px solid #47155C;
    background-color: #47155C;
    padding: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: initial;
}

.dxmLite .dxm-main .dxm-checked, .dxmLite .dxm-selected, .dxmLite .dxm-hovered, .dxmLite .dxm-main .dxm-dropDownMode.dxm-checked .dxm-popOut, .dxmLite .dxm-dropDownMode.dxm-selected .dxm-popOut, .dxmLite .dxm-dropDownMode.dxm-hovered .dxm-popOut
{
    border-color: #47155C;
    background-color: #47155C;
}

.dxmLite .dxm-item, .dxmLite .dxm-popOut .dxm-hovered
{
    background-color: #47155C;
}


.dxmLite .dxm-popup .dxm-hovered
{
    background-color: #47155C;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
}

input[type="text"], input[type="password"]
{
    border: 1px solid #ccc;
    padding: 2px;
/*    color: #444;
    width: 200px; */
}

select
{
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"]
{
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

input[type="text"]
{
}

input[type="password"]
{
}


table
{
    /*overflow: hidden;*/
   
    
}

table td
{
}

table th
{
    text-align: left;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color: Red;
}

nav, #menucontainer
{
    margin-top: 40px;
    overflow: visible;
}



div#title
{
    display: block;
    float: left;
    text-align: left;
}

#logindisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: black;
}

#logindisplay a:link
{
    color: black;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: black;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: black;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label
{
    margin: 1em 0 0 0;
}

.display-field, .editor-field
{
    margin: 0.5em 0 0 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

#main_table
{
    height: 99.5%;
    min-height:99.5%;
    width: 100%;
}
    
.СustomerProfile th
{
    text-align: left;
/*    padding-right: 5px; 
*/
}

.СustomerProfile td th
{
    text-align: left;
    padding-right: 5px;
}

.customerBorder td th
{
    border: 1px solid #C8C8C8;
    min-width: 150px;
    min-height: 17px;
    text-align: left;
    left:auto;
}

#checkbox
{
    border: 1px solid white;
}